package com.winsdom.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class FinishedThreeTableDTO {
    @Schema(description = "抄表记录表ID",required = true,example = "4")
    private Long id;
    @Schema(description = "本期抄表时间",required = true,example = "2025-01-22 12:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime readTime;
    @Schema(description = "本期读数",required = true,example = "80")
    private Integer currentReading;
}
